package com.shiyuanshenghong.service.userregisterservice.impl;

import com.shiyuanshenghong.entity.UserModel;
import com.shiyuanshenghong.service.userregisterservice.UserRegisterService;
import org.apache.commons.mail.DefaultAuthenticator;
import org.apache.commons.mail.EmailException;
import org.apache.commons.mail.SimpleEmail;
import org.springframework.stereotype.Service;

/**
 * 注册用户的service实现类
 * Created by LZQ on 2017/12/28.
 */

@Service
public class UserRegisterServiceImpl implements UserRegisterService{

    //TODO 需要添加具体的mapper方法
    @Override
    public UserModel queryByUserEmail(String userEmail) {
        return null;
    }

    @Override
    public int addUser(UserModel userModel) {
        return 0;
    }

    @Override
    public int deleteUser(String userEmail) {
        return 0;
    }

    @Override
    public int updateIsActivate(UserModel userModel) {
        return 0;
    }


}
